package com.zr.websocket;

public class WebSocketSend {

    /**
     * equipmentCode : 设备编号
     * status : 设备升级的状态，正在下载安装包--返回1
     */

    private String equipmentCode;
    private String status;
    public WebSocketSend(String equipmentCode,String status){
        this.equipmentCode = equipmentCode;
        this.status = status;
    }
    public String getEquipmentCode() {
        return equipmentCode;
    }

    public void setEquipmentCode(String equipmentCode) {
        this.equipmentCode = equipmentCode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
    @Override
    public String toString() {
        StringBuilder buffer = new StringBuilder("{");
        buffer.append("equipmentCode:\"").append(equipmentCode).append("\", ");
        buffer.append("status:\"").append(status).append("\"");
        buffer.append("}");
        return buffer.toString();
    }
}
